//
//  HomeRecommendModel.h
//  B2C
//
//  Created by xiaowu on 2017/8/15.
//  Copyright © 2017年 lixiaolong. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "CommodityModel.h"

@interface HomeGoodsHomeModel : NSObject

@property (nonatomic, copy) NSString *price;
@property (nonatomic, copy) NSString *gtcid;
@property (nonatomic, copy) NSString *gnumber;
@property (nonatomic, copy) NSString *gname;
@property (nonatomic, copy) NSString *gid;
@property (nonatomic, copy) NSString *gextension;
@property (nonatomic, copy) NSString *createtime;
@property (nonatomic, copy) NSString *gdetails;
@property (nonatomic, copy) NSString *gbarcode;
@property (nonatomic, copy) NSString *gimg;
@property (nonatomic, copy) NSString *ghomeimg;

@end

@interface HomeNewsModel : NSObject

@property (nonatomic, copy) NSString *price;        // 价格（最低价格）
@property (nonatomic, copy) NSString *gtcid;        // 二级分类id
@property (nonatomic, copy) NSString *gnumber;      // 商品编号
@property (nonatomic, copy) NSString *gname;        // 商品名称
@property (nonatomic, copy) NSString *gid;          // 商品id
@property (nonatomic, copy) NSString *gextension;   // 推广信息
@property (nonatomic, copy) NSString *createtime;   // 创建时间
@property (nonatomic, copy) NSString *gdetails;     // 商品详细
@property (nonatomic, copy) NSString *gbarcode;     // 条形码
@property (nonatomic, copy) NSString *gimg;         // 商品图片
@property (nonatomic, copy) NSString *ghomeimg;     // 商品首页缩率图

@end

@interface HomeAdvModel : NSObject

@property (nonatomic, copy) NSString *atitle;       // 标题
@property (nonatomic, copy) NSString *alink;        // 链接
@property (nonatomic, copy) NSString *aimg;         // 图片
@property (nonatomic, copy) NSString *createtime;   // 创建时间
@property (nonatomic, copy) NSString *aid;          // id

@end

@interface HomeRecommendModel : NSObject

@property (nonatomic, strong) NSArray <HomeAdvModel *> *adv;
@property (nonatomic, strong) NSArray <CommodityModel *> *goodshome;
@property (nonatomic, strong) NSArray <CommodityModel *> *goodsnew;

- (NSArray *)getBannerImgs;
@end
